package org.zh.sh.vll;

import org.zh.sh.util.http.Controller;
import org.zh.sh.util.http.RequestMapping;

import java.util.Map;

import static org.zh.sh.config.GlobalStatic.proxyAppUrlSV;

@Controller
public class AppUrlVLL {


    @RequestMapping(value = "/appUrl/insert")
    public Map<String, Object> insert(Map<String, Object> appUrl) {
        return proxyAppUrlSV.insert(appUrl);
    }

    @RequestMapping(value = "/appUrl/insertVoid")
    public void insertVoid(Map<String, Object> appUrl) {
        proxyAppUrlSV.insert(appUrl);
    }

    @RequestMapping(value = "/appUrl/updateById")
    public int updateById(Map<String, Object> appUrl) {
        return proxyAppUrlSV.updateById(appUrl);
    }

    @RequestMapping(value = "/appUrl/queryById")
    public Map<String, Object> queryById(Long id) {
        return proxyAppUrlSV.queryById(id);
    }

    @RequestMapping(value = "/appUrl/deleteById")
    public int deleteById(Long id) {
        return proxyAppUrlSV.deleteById(id);
    }
}
